<%@ taglib prefix="s" uri="/struts-tags" %>
<%--
  Created by IntelliJ IDEA.
  User: 高金磊
  Date: 2021/5/9
  Time: 9:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
    <title></title>
    <link rel="icon" href="<%=basePath%>favicon.ico" type="image/ico">
    <link href="<%=basePath%>css/bootstrap.min.css" rel="stylesheet">
    <link href="<%=basePath%>css/fonts.css" rel="stylesheet">
    <link href="<%=basePath%>css/style.css" rel="stylesheet">
</head>
<body>


<s:action name="Book_Alt_log">
    <main class="ftdms-layout-content">

        <div class="container-fluid" style="margin-bottom:90px;">

            <div class="row" style="margin-top:15px;">
                <div class="col-lg-12">
                    <div class="card">
                        <div class="card-toolbar clearfix">
                                <%--<form action="ShowBookInfoManage_find.action" method="get">--%>
                                <%--<input value="<%=request.getParameter("key")==null?"":request.getParameter("key")%>" name="key">--%>
                                <%--<input type="submit" value="查找"/>--%>
                                <%--</form>--%>
                            <form class="pull-left search-bar" method="get" action="<%=basePath%>Book_Alt_log.action" role="form">

                                <div style="width: 500px" class="input-group">
                                    <div class="input-group-btn">
                                            <%--<input  type="hidden" value="<%=request.getParameter("key")==null?"":request.getParameter("key")%>" name="key" id="search-field">--%>
                                    </div>

                                    <input name="key" type="text" class="form-control" value="<%=request.getParameter("key")==null?"":request.getParameter("key")%>"  placeholder="输入图书编号来筛选图书操作日志">


                                    <span style="color:red"><s:actionerror/></span>
                                </div>
                            </form>

                        </div>
                        <div class="card-body">

                            <div class="table-responsive">
                                <table class="table table-bordered table-striped">
                                    <thead>
                                    <tr>
                                      <th>图书信息变更日志</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <s:iterator value="#request.data" var="data">
                                        <tr>
                                            <td>
                                                <s:property value="#data.BuildLog()"/>
                                            </td>

                                        </tr>
                                    </s:iterator>
                                    </tbody>
                                </table>
                            </div>
                                <%--<ul class="pagination">--%>
                                <%--<li class="disabled"><span>«</span></li>--%>
                                <%--<li class="active"><span>1</span></li>--%>
                                <%--<li><a class="submenuitem" href="pages_data.html#2">2</a></li>--%>
                                <%--<li><a href="#3">3</a></li>--%>
                                <%--<li><a href="#4">4</a></li>--%>
                                <%--<li><a href="#5">5</a></li>--%>
                                <%--<li><a href="#1">6</a></li>--%>
                                <%--<li><a href="#1">7</a></li>--%>
                                <%--<li><a href="#1">8</a></li>--%>
                                <%--<li class="disabled"><span>...</span></li>--%>
                                <%--<li><a href="">14452</a></li>--%>
                                <%--<li><a href="">14453</a></li>--%>
                                <%--<li><a href="">»</a></li>--%>
                                <%--</ul>--%>

                        </div>
                    </div>
                </div>

            </div>

        </div>
        <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>

    </main>
</s:action>



<script type="text/javascript" src="<%=basePath%>js/jquery.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/bootstrap.js"></script>
<script type="text/javascript" src="<%=basePath%>js/perfect-scrollbar.min.js"></script>
<script type="text/javascript" src="<%=basePath%>js/main.min.js"></script>
<script type="text/javascript">
    $(function(){
        $('.search-bar .dropdown-menu a').click(function() {
            var field = $(this).data('field') || '';
            $('#search-field').val(field);
            $('#search-btn').html($(this).text() + ' <span class="caret"></span>');
        });
    });
</script>
</body>
</html>
